﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Entity.Car_Rental.StaticInfo>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Edit
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>
        编辑静态信息</h2>
    <% using (Html.BeginForm())
       {%>
    <%: Html.ValidationSummary(true) %>
    <fieldset>
        <%: Html.HiddenFor(model => model.StaticID) %>
        <div class="editor-label">
            标题：
        </div>
        <div class="editor-field">
            <%: Html.TextBoxFor(model => model.Title) %>
            <%: Html.ValidationMessageFor(model => model.Title) %>
        </div>
        <div class="editor-label">
            详细信息：
        </div>
        <div class="editor-field">
            <%: Html.TextBoxFor(model => model.Info, new { rows = "16", cols = "100", @class = "xheditor" })%>
            <%: Html.ValidationMessageFor(model => model.Info) %>
        </div>
        <p class="button-span">
             <%=Html.CreateButton(  Common.Background.Entity.UserOperatorRole.ModifyEvent) %>
        </p>
    </fieldset>
    <% } %>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ScriptContent" runat="server">
</asp:Content>
sss